package com.atguigu.zy.interview.juc.single;

/**
 * @Author : Jungle
 * @Description :
 */
public enum EnumSingleton {
    INSTANCE;
    public void doSomething(){
        System.out.println("单例对象的⼀个⽅法");
    }

    public static void main(String[] args) {
        EnumSingleton.INSTANCE.doSomething();
    }

}
